package com.fan.analysis.module.analysis.group.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fan.analysis.module.analysis.group.domain.entity.GroupInfoEntity;
import com.fan.analysis.module.analysis.group.domain.vo.GroupVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 查询群体信息
 *
 * @author fan
 * @date 2021/09/24 20:03
 **/
@Component
@Mapper
public interface GroupInfoDao extends BaseMapper<GroupInfoEntity> {


    /**
     * 通过关键词获取群体信息
     *
     * @param groupKeyword 关键词
     * @return 群体信息
     */
    List<GroupVo> listGroupInfos(String groupKeyword);
}
